package com.dyh.quickdemozwei.pipe0825;

public interface PipeLineNodeItf {
     Object work(PipeLineContext context);

    int getIndex();

    void setIndex(int index);

    PipeLineItf getPipeLine();

    void setPipeLine(PipeLineItf pipeLine);

//    String RESULT_KEY = "$result-%s";

//    default void  $work(PipeLineContext context){
//       Object res = work(context);
//       context.setVal(String.format(RESULT_KEY,getIndex()),res);
//    }

}
